package com.sftz.assets.entities.question;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Comment;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Data
@Table("paper_answer_info")
public class PaperAnswerInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@Id(auto = true)
	private Integer id;

	@Column
	@Comment("用户id")
	private Integer studentId;

	@Column
	@Comment("用户昵称")
	private String studentName;

	@Column
	@Comment("批阅状态（0，否；1，是）")
	private Integer answerStatue;

	@Column
	@Comment("耗时(分钟)")
	private Integer finishTime;

	@Column
	@Comment("答题开始时间")
	private Date startTime;

	@Column
	@Comment("答题结束时间")
	private Date endTime;

	@Column
	@Comment("试卷id")
	private Integer examId;

	@Column
	@Comment("答题状态")
	private Integer status;

	@Column
	@Comment("得分")
	private Double score;

	@Column
	@Comment("客观题得分")
	private Double objectScore = 0.0d;

	@Column
	@Comment("主观题得分")
	private Double subjectScore;

	@Column
	@Comment("批阅人id")
	private Integer approverId;

	@Column
	@Comment("批阅人昵称")
	private String approver;

	@Column
	@Comment("批阅时间")
	private Date approverDate;

	@Column
	@Comment("自评")
	private String selfEval;

	@Column
	@Comment("师评")
	private String teacEval;

	@Column
	@Comment("考试等级")
	private Integer examLevel;

	//阅卷状态
	private String readoverName;

}